﻿#include <iostream>
#include <string>
#include <vector>

int main() {
    std::vector<std::string> input;
    std::string wordylak[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
    int sum = 0;

    for (int i = 0; i < 3; i++) {
        if (input.size() != 3 && input[i] == wordylak) {
            std::cout << "wrong input" << std::endl;
        }
    }

    for (int i = 0; i < 10; i++) {
        if (input[0] == wordylak[i]) {
            sum = i * 100;
        }
        if (input[1] == wordylak[i]) {
            sum += i * 10;
        }
        if (input[2] == wordylak[i]) {
            sum += i * 1;
        }
    }

    std::cout << sum << std::endl;

    return 0;
}